package com.xingkeduo.pojo.table;

import com.xingkeduo.util.pojo.base.BaseTable;
import org.apache.ibatis.type.Alias;

import javax.validation.constraints.NotNull;

/**
 * 文件概述
 *
 * @author wangxilong <wangxilong@xingkeduo.com>
 * @version id:v0.1 18-12-30 下午9:33
 * @package BeautyOS
 * @copyright Copyright (c) XKD 2019
 */
@Alias("ShopsServprod")
public class ShopsServprodTable extends BaseTable<ShopsServprodTable> {

    @NotNull(message = "门店不能为空")
    private Long shopsId = 0L;
    @NotNull(message = "服务商品不能为空")
    private Long servprodId;
//    @NotNull(message = "服务时长不能为空")
    private Integer servtime = 0;
//    @NotNull(message = "服务价格不能为空")
    private  Long price;

    private Boolean checked = false;

    private String servprodName;

    public Long getShopsId() {
        return shopsId;
    }

    public ShopsServprodTable setShopsId(Long shopsId) {
        this.shopsId = shopsId;
        return this;
    }

    public Long getServprodId() {
        return servprodId;
    }

    public ShopsServprodTable setServprodId(Long servprodId) {
        this.servprodId = servprodId;
        return this;
    }

    public Integer getServtime() {
        return servtime;
    }

    public ShopsServprodTable setServtime(Integer servtime) {
        this.servtime = servtime;
        return this;
    }

    public Long getPrice() {
        return price;
    }

    public ShopsServprodTable setPrice(Long price) {
        this.price = price;
        return this;
    }

    public Boolean getChecked() {
        return checked;
    }

    public ShopsServprodTable setChecked(Boolean checked) {
        this.checked = checked;
        return this;
    }

    public String getServprodName() {
        return servprodName;
    }

    public ShopsServprodTable setServprodName(String servprodName) {
        this.servprodName = servprodName;
        return this;
    }
}
